# coding=utf-8
__author__ = 'liubin'
from flask.ext.restful import fields

user_resource_fields = {
    'id': fields.Integer,
    'name': fields.String,
    'real_name': fields.String
}

role_resource_fields = {
    'id': fields.Integer,
    'code': fields.String,
    'name': fields.String
}